package com.luck.model.po;

import java.util.Date;

public class BlogComment {
    private Integer commentId;

    private Integer blogId;

    private Integer userId;

    private Integer parentId;

    private String content;

    private Date createDate;

    private Integer likeAmount;

    public BlogComment(Integer commentId, Integer blogId, Integer userId, Integer parentId, String content, Date createDate, Integer likeAmount) {
        this.commentId = commentId;
        this.blogId = blogId;
        this.userId = userId;
        this.parentId = parentId;
        this.content = content;
        this.createDate = createDate;
        this.likeAmount = likeAmount;
    }

    public BlogComment() {
        super();
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getBlogId() {
        return blogId;
    }

    public void setBlogId(Integer blogId) {
        this.blogId = blogId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getLikeAmount() {
        return likeAmount;
    }

    public void setLikeAmount(Integer likeAmount) {
        this.likeAmount = likeAmount;
    }
}